import React, { Component }  from 'react';
import { Row } from 'antd';
import './index.less'

/**
 * 数量卡片
 */

class ItemCard extends Component {
	static defaultProps = {
		path: '',
	};

	constructor(props) {
		super(props);
		this.state = {};
	}

	static getDerivedStateFromProps(nextProps, prevState) {

		return null;
	}

	render() {
		const { children } = this.props;

		return (
			<div className="card-body corner-com">
				<span className="corner" />
				<span className="corner" />
				<span className="corner" />
				<span className="corner" />

				{children}
			</div>
		);
	}
}

export default ItemCard;
